import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    emp:[]
  },
  getters: {
    getEmp(state){
      return state.emp;
    },
  },
  mutations: {
    setEmp(state,data){
      state.emp=data;
    }
  },
  actions: {},
  modules: {},
});
